---
title: 'Hosted'
description: 'Use consent.io for an easy, managed consent storage solution with minimal setup'
lastModified: 2025-08-22
availableIn:
  - framework: 'next'
    url: '/docs/frameworks/next/storing-consent/hosted'
    title: 'Next.js'
  - framework: 'react'
    url: '/docs/frameworks/react/storing-consent/hosted'
    title: 'React'
  - framework: 'javascript'
    url: '/docs/frameworks/javascript/storing-consent/hosted'
    title: 'JavaScript'
---

<import>../shared/storing-consent/hosted.mdx#overview</import>

## Implementation

```tsx
import { configureConsentManager, type ConsentManagerOptions } from 'c15t';

export const c15tConfig: ConsentManagerOptions = {
  mode: 'c15t',
  backendURL: "https://your-instance.c15t.dev",
  consentCategories: ['necessary', 'marketing'], // Optional: Specify which consent categories to show in the banner. 
  ignoreGeoLocation: true, // Useful for development to always view the banner.
};

const c15t = configureConsentManager(c15tConfig);
```

<import>../shared/storing-consent/hosted.mdx#using-consent-io</import>
